﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace uitocr.imaging.Settings
{
    public class Setting
    {
        public bool equalize_Hist = false;
        public bool dialte = false;
        public int nonadaptivethreshold = 220;
        public int dilateIteration = 1;
        public bool blur = false;
        public bool noiseFilter = false;
        public bool dobinary = true;
        public bool binayAdaptiveMethod = false;
        public bool LostChecking = false;
        public bool Do_resize = false;
        public bool getsekeleton = false;
        public int analysisID = 2;
        public bool recoverMode = false;
        public bool analysis_ = false;
        public int numberofObject = 1;
        public bool getblobcollection = false;
        public scaleSize size = new  scaleSize(80,80);
        public Setting ()
        {

        }
        public Setting(bool settingForCA)
        {
            if (settingForCA)
            {
                binayAdaptiveMethod = true;
            }
            else
            {
                equalize_Hist = false;
                dialte = true;
                dilateIteration = 1;
                blur = false;
                noiseFilter = false;
                dobinary = true;
                getblobcollection = true;
                binayAdaptiveMethod = false;
                LostChecking = true;
                Do_resize = false;
                size = new scaleSize(70, 70);
                analysisID = 2;
                recoverMode = false;
                analysis_ = true;
                numberofObject = 1;
                getsekeleton = true;

                
            }
        }

    }
}
